import React, {Component} from 'react';
import {demo} from '../../api/index';
import TabBar from '../../components/TabBar';



class Home extends Component {

    componentWillMount() {
        demo().then((res) => {
            console.log(res)
        })
    }

    componentDidMount() {

    }

    componentWillUnmount() {

    }

    render() {
        return (
        	<>
		        <h1>首页</h1>
		        {/*<TabBar/>*/}
	        </>

        );
    }
}

export default Home;